package com.wanxi.product.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("SKU")
public class SkuEntity {
    @ApiModelProperty("商品ID")
    private Integer productId;
    @ApiModelProperty("规格id")
    private Integer specsId;
    @ApiModelProperty(value = "状态")
    private Integer status;
    @ApiModelProperty("sku编号")
    private String number;
    @ApiModelProperty("成本价")
    private BigDecimal costPrice;
    @ApiModelProperty("售价")
    private BigDecimal price;
    @ApiModelProperty("画线价")
    private BigDecimal originalPrice;
    @ApiModelProperty("库存量")
    private Integer Inventory;
}
